import request from '@/utils/request'

// 统计单商品库存分布情况
export function statAllStockDistributeByGoodsId(goodsId) {
  return request({
    url: '/stockDistribute/statAllStockDistributeByGoodsId',
    method: 'get',
    params: { goodsId }
  })
}

// 统计单商品待分仓数量
export function countWaitWarehouseStockInUse(goodsId) {
  return request({
    url: '/stockDistribute/countWaitWarehouseStockInUse',
    method: 'get',
    params: { goodsId }
  })
}
